package com.jpyl.jpMedicalTreatment.model;

import java.io.Serializable;

/**
 * Created by 15697 on 2019/4/2.
 */

public class DeliveryModel implements Serializable {

    /**
     * code : 0
     * msg : 订单查询成功
     * data : {"name":"艾尔贝清","url":"/attachment/photo/20190123232429794.jpg,
     * /attachment/photo/20190123232429795.jpg,/attachment/photo/20190123232429795.jpg",
     * "price":6,"count":2,"total":12,"status":4,"orderdate":1548423680,"shipdate":0}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * name : 艾尔贝清
         * url : /attachment/photo/20190123232429794.jpg,/attachment/photo/20190123232429795.jpg,
         * /attachment/photo/20190123232429795.jpg
         * price : 6
         * count : 2
         * total : 12
         * status : 4
         * orderdate : 1548423680
         * shipdate : 0
         */

        private String name;
        private String url;
        private int price;
        private int count;
        private int total;
        private int status;
        private int orderdate;
        private int shipdate;

        public DataBean(String name, String url, int price, int count, int total, int status, int
                orderdate, int shipdate) {
            this.name = name;
            this.url = url;
            this.price = price;
            this.count = count;
            this.total = total;
            this.status = status;
            this.orderdate = orderdate;
            this.shipdate = shipdate;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getOrderdate() {
            return orderdate;
        }

        public void setOrderdate(int orderdate) {
            this.orderdate = orderdate;
        }

        public int getShipdate() {
            return shipdate;
        }

        public void setShipdate(int shipdate) {
            this.shipdate = shipdate;
        }
    }
}
